#include <stdio.h>
int main(void){
  int num = 1;
  while(num < 21) {
    printf("%4d %6d\n", num, num * num);
    num++;
  }
}